package com.permission.systempermission.aspect;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

@Component
@Aspect
public class foodsLog {

    @Pointcut("@annotation(aopParam)")
    private void foddsLogAdd(AopParam aopParam) {
    }
    @Around("foodsLog.foddsLogAdd(aopParam)")
    public Object muenInfo(ProceedingJoinPoint pjp, AopParam aopParam) throws Throwable {
        Object ret = pjp.proceed();
        return ret;
    }

}
